namespace 高校员工餐饮信息管理系统.Models
{
    /// <summary>
    /// 订单实体类
    /// </summary>
    public class Order
    {
        public int Id { get; set; }
        
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserId { get; set; }
        
        /// <summary>
        /// 商户ID
        /// </summary>
        public int MerchantId { get; set; }
        
        /// <summary>
        /// 订单总金额
        /// </summary>
        public decimal TotalAmount { get; set; }
        
        /// <summary>
        /// 补贴金额
        /// </summary>
        public decimal SubsidyAmount { get; set; }
        
        /// <summary>
        /// 自费金额
        /// </summary>
        public decimal SelfPayAmount { get; set; }
        
        /// <summary>
        /// 订单时间
        /// </summary>
        public DateTime OrderTime { get; set; } = DateTime.Now;
        
        /// <summary>
        /// 订单状态
        /// </summary>
        public string Status { get; set; } = "已完成";
        
        /// <summary>
        /// 备注
        /// </summary>
        public string? Remarks { get; set; }
    }
}

